const mongoose = require('mongoose');

const carouselSchema = new mongoose.Schema({
  imageUrl: { type: String, required: true } // 仅保留图片地址
}, { timestamps: true }); // 自动生成 createdAt 和 updatedAt

module.exports = mongoose.model('Carousel', carouselSchema);